<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DesignPattern: C:/96_project/DesignPattern/08_Adapter/groupinc/DESIGNPATTERN_Adapter.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="DesignPattern.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">DesignPattern
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6f59ad1b1a02498f02888b28bab0f96b.html">08_Adapter</a></li><li class="navelem"><a class="el" href="dir_a70f92a27d7204dc24674ef007761001.html">groupinc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">DESIGNPATTERN_Adapter.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___adapter_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#ifndef CXX_DESIGNPATTERN_ADAPTER_H</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#define CXX_DESIGNPATTERN_ADAPTER_H</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#ifndef CXX_DESIGNPATTERN_TARGETCHINA_H</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___target_china_8h.html">DESIGNPATTERN_TargetChina.h</a>&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">class </span><a class="code" href="class_adaptee_japan.html">AdapteeJapan</a>;</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_adapter.html">   18</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_adapter.html">Adapter</a> : <span class="keyword">public</span> <a class="code" href="class_target_china.html">TargetChina</a></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;{</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <a class="code" href="class_adapter.html#a1f2d804a6dc0887caefa83b76fbe9f91">Adapter</a>(<a class="code" href="class_adaptee_japan.html">AdapteeJapan</a>* pAdapteeJapan);</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_adapter.html#a08a07acff57eb40aba27455de23ed13c">~Adapter</a>();</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> <a class="code" href="class_adapter.html#a2d7ca614d54c4f68f9f7e94f05acbc0d">Voltage220V</a>();</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <a class="code" href="class_adapter.html#a1f2d804a6dc0887caefa83b76fbe9f91">Adapter</a>();</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <a class="code" href="class_adapter.html#a1f2d804a6dc0887caefa83b76fbe9f91">Adapter</a>(<span class="keyword">const</span> <a class="code" href="class_adapter.html">Adapter</a>&amp; cAdapter);</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <a class="code" href="class_adapter.html">Adapter</a>&amp; <a class="code" href="class_adapter.html#aba086402cb244fe2286526ab8f7172ed">operator=</a>(<span class="keyword">const</span> <a class="code" href="class_adapter.html">Adapter</a>&amp; cAdapter);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_adapter.html#a5761b4e544e8859a802a7e5a469bb3e9">   74</a></span>&#160;    <a class="code" href="class_adaptee_japan.html">AdapteeJapan</a>* <a class="code" href="class_adapter.html#a5761b4e544e8859a802a7e5a469bb3e9">m_pAdapteeJapan</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;};</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="preprocessor">#endif  </span><span class="comment">/* &gt;&gt;CXX_DESIGNPATTERN_ADAPTER_H&lt;&lt; */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor"></span><span class="comment">/* EOF */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_adapter_html_a08a07acff57eb40aba27455de23ed13c"><div class="ttname"><a href="class_adapter.html#a08a07acff57eb40aba27455de23ed13c">Adapter::~Adapter</a></div><div class="ttdeci">virtual ~Adapter()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___adapter_8cpp_source.html#l00038">DESIGNPATTERN_Adapter.cpp:38</a></div></div>
<div class="ttc" id="aclass_adaptee_japan_html"><div class="ttname"><a href="class_adaptee_japan.html">AdapteeJapan</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___adaptee_japan_8h_source.html#l00013">DESIGNPATTERN_AdapteeJapan.h:13</a></div></div>
<div class="ttc" id="aclass_adapter_html_a1f2d804a6dc0887caefa83b76fbe9f91"><div class="ttname"><a href="class_adapter.html#a1f2d804a6dc0887caefa83b76fbe9f91">Adapter::Adapter</a></div><div class="ttdeci">Adapter()</div></div>
<div class="ttc" id="aclass_adapter_html_a5761b4e544e8859a802a7e5a469bb3e9"><div class="ttname"><a href="class_adapter.html#a5761b4e544e8859a802a7e5a469bb3e9">Adapter::m_pAdapteeJapan</a></div><div class="ttdeci">AdapteeJapan * m_pAdapteeJapan</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___adapter_8h_source.html#l00074">DESIGNPATTERN_Adapter.h:74</a></div></div>
<div class="ttc" id="aclass_target_china_html"><div class="ttname"><a href="class_target_china.html">TargetChina</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___target_china_8h_source.html#l00013">DESIGNPATTERN_TargetChina.h:13</a></div></div>
<div class="ttc" id="a_my_self_def_8h_html_a7927e087749615dae3114cc27b91c86d"><div class="ttname"><a href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a></div><div class="ttdeci">void VOID</div><div class="ttdef"><b>Definition:</b> <a href="_my_self_def_8h_source.html#l00011">MySelfDef.h:11</a></div></div>
<div class="ttc" id="a_d_e_s_i_g_n_p_a_t_t_e_r_n___target_china_8h_html"><div class="ttname"><a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___target_china_8h.html">DESIGNPATTERN_TargetChina.h</a></div><div class="ttdoc">1.When the algorithm to create complex object should be independent of the part of the object,...</div></div>
<div class="ttc" id="aclass_adapter_html_a2d7ca614d54c4f68f9f7e94f05acbc0d"><div class="ttname"><a href="class_adapter.html#a2d7ca614d54c4f68f9f7e94f05acbc0d">Adapter::Voltage220V</a></div><div class="ttdeci">virtual VOID Voltage220V()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___adapter_8cpp_source.html#l00049">DESIGNPATTERN_Adapter.cpp:49</a></div></div>
<div class="ttc" id="aclass_adapter_html"><div class="ttname"><a href="class_adapter.html">Adapter</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___adapter_8h_source.html#l00018">DESIGNPATTERN_Adapter.h:18</a></div></div>
<div class="ttc" id="aclass_adapter_html_aba086402cb244fe2286526ab8f7172ed"><div class="ttname"><a href="class_adapter.html#aba086402cb244fe2286526ab8f7172ed">Adapter::operator=</a></div><div class="ttdeci">Adapter &amp; operator=(const Adapter &amp;cAdapter)</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
